#ifndef  __MCU_I2C_H
#define  __MCU_I2C_H

//----------------------------------Include-------------------------------------
#include  <stdint.h>
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void mcu_init_i2c(void);
void mcu_shut_i2c(void);
//------------------------------------------------------------------------------
uint8_t mcu_i2c_start(void);
void    mcu_i2c_stop(void);
uint8_t mcu_i2c_tx_addr(uint8_t addr);
uint8_t mcu_i2c_tx_byte(uint8_t val);
uint8_t mcu_i2c_rx_byte(uint8_t ack);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------



